﻿namespace HBKY.Shop.Common.RequestAccessor
{
    /// <summary>
    /// 请求访问者
    /// </summary>
    public interface ICurrentUser
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        int UserId { get; }

        /// <summary>
        /// 用户名称
        /// </summary>
        string UserName { get; }

        /// <summary>
        /// 机构类型
        /// </summary>
        int[] RoleIds { get; }

        /// <summary>
        /// 用户头像
        /// </summary>
        string Avatar { get; }
    }
}